/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

package com.pig4cloud.ila.client.api.vo;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 文章管理表 视图类
 *
 * @author KonBAI
 * @date 2020-10-14 23:12:14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "文章管理表 视图类")
public class ArticleVO extends Model<ArticleVO> {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value="主键")
    private String id;
    /**
     * 文章标题
     */
    @ApiModelProperty(value="文章标题")
    private String title;
    /**
     * 类别ID
     */
    @ApiModelProperty(value="类别ID")
    private String categoryId;
    /**
     * 作者
     */
    @ApiModelProperty(value="作者")
    private String author;
    /**
     * 阅读数
     */
    @ApiModelProperty(value="阅读数")
    private Integer readNum;
    /**
     * 点赞数
     */
    @ApiModelProperty(value="点赞数")
    private Integer likeNum;
    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private Integer createBy;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 修改人
     */
    @ApiModelProperty(value="修改人")
    private Integer updateBy;
    /**
     * 修改时间
     */
    @ApiModelProperty(value="修改时间")
    private LocalDateTime updateTime;
    /**
     * 0-公开，1-私密
     */
    @ApiModelProperty(value="0-公开，1-私密")
    private String formFlag;
    /**
     * 0-未审核，1-已审核，2-已拒绝，3-已撤回
     */
    @ApiModelProperty(value="0-未审核，1-已审核，2-已拒绝，3-已撤回")
    private String stateFlag;
    /**
     * 0-正常，1-删除
     */
    @ApiModelProperty(value="0-正常，1-删除")
    private String delFlag;
}
